﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Transactions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenFaq.Core;

namespace OpenFaq.Application.Tests
{
	[TestClass]
	public abstract class TestBase
	{
		private TransactionScope _transactionScope;

		[TestInitialize]
		public virtual void TestInitialize()
		{
			_transactionScope = new TransactionScope();
		}


		[TestCleanup]
		public virtual void TestCleanup()
		{
			_transactionScope.Dispose();
		}
	}
}
